package org.admin.entity.vo;

import lombok.Data;
import org.admin.entity.domain.PermsGroup;

@Data
public class PermsGroupFetchVo {
    private Integer id;
    private String name;
    private String detail;

    private Integer permsCount;
    public PermsGroupFetchVo() {}
    public PermsGroupFetchVo(PermsGroup group){
        id = group.getId();
        name = group.getName();
        detail = group.getDetail();
    }
}
